package com.lbs.jiepiaisi.base;

import android.app.Application;
import android.content.Context;

/**
 *
 * 时间：2017/6/16 10:49
 * 作用：
 */

public class BaseApplication extends Application {
    //单例模式
    private static BaseApplication instance;
    private Context context;

    /**
     *   单例模式获取唯一的MyApplication实例
     */
  public static BaseApplication getInstance(){
      if(null==instance){
          instance=new BaseApplication();
      }
      return instance;
  }


}
